---
title: Terraform - How do I link my account?
sidebarTitle: Terraform
---

# Overview

To authenticate with Terraform, you need:
1. **API Token** - A token that grants secure access to the API, enabling authorized applications to interact with Terraform resources and services.

This guide will walk you through generating the API Token within Terraform.

### Prerequisites:

- You must have a Terraform account.

### Instructions:

#### Step 1: Generating Your API Token

Generating an API Token [following Terraform's guide](https://developer.hashicorp.com/terraform/cloud-docs/users-teams-organizations/api-tokens#organization-api-tokens).

To generate an API Token from Terraform:
1. Log into [Terraform](https://app.terraform.io/)
1. Go to **Organization settings**.
2. In the security section of the sidebar select **API Tokens**.
3. Generate an **API Token** using the controls below the **Organization Tokens header**.

<img src="/integrations/all/terraform/organization_settings.png" style={{maxWidth: "450px" }}/>

#### Step 2: Enter credentials in the Connect UI

Once you have the **API Token**:
1. Open the form where you need to authenticate with Terraform.
2. Enter the **API Token** in the designated field.
3. Submit the form, and you should be successfully authenticated.

<img src="/integrations/all/terraform/form.png" style={{maxWidth: "450px" }}/>

You are now connected to Terraform.
